package com.yj.ccs.abs.boot.authorization.annotation;

import com.yj.ccs.abs.common.enums.UserRoleType;

import java.lang.annotation.*;

/**
 * Copyright 2018 (C) Yunjian-VC
 * Created on : 2018/3/14
 * Author     : Unbelievable9
 **/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface UserRole {

    /**
     * 用户类型
     * @return 用户类型数组
     */
    UserRoleType[] value();
}
